package _09define;

public class _05homework {
    public static void main(String[] args) {
        double arr[][]={{30, 66, 48}, {10, 33, 20}, {10, 99, 103}, {9, 18, 27}};
        double sum=0;
        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < 3; j++) {
                sum+=arr[i][j];
            }
        }
        double average=sum/4;
        System.out.println("每个季度平均销售额："+average);
        System.out.println("年度销售总额："+sum);
    }
}
